package com.tql.hualala.mapper;

import com.tql.hualala.bean.BillDetailBean;
import com.tql.hualala.bean.FoodDetailBean;
import com.tql.hualala.bean.FoodDetailReportDayBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HllShopBillDetailMapper {
    int deleteBill(@Param("saasOrderKey") String saasOrderKey,@Param("tabname") String tabname);

    int deleteBillFood(@Param("saasOrderKey") String saasOrderKey,@Param("tabname") String tabname);

    int insertBillDetailBean(@Param("bill") BillDetailBean eachBill, @Param("tabname") String tabname);

    int insertBillFoodDetailBean(@Param("list")List<FoodDetailBean> listFoodDetailBean, @Param("tabname") String tabname);

    int insertBillFoodDetailReportDayBean(@Param("list") List<FoodDetailReportDayBean> listFoodDetailReportBean, @Param("tabname")String billFoodTableName);

    void saveShopBillReport(int flag, Long reportDate, String billFoodReportTableName,String billFoodTableName);

    void updateShopBill(int flag, Long reportDate, String billFoodTableName);
}
